<!doctype html>
<html>
<head>
    <meta charset="UTF-8" />
    <title>{dede:field.title/} - {dede:global.cfg_webname/}</title>
    <script type="text/javascript" src="{dede:global.cfg_templets_skin/}/assets/js/jquery-1.9.1.min.js"></script>
</head>
<body>
    
	<div id="channelartlist" style="display: none;">
		{dede:channelartlist}
		<a href="{dede:field name='typeurl'/}">{dede:field name='typename'/}</a>
		{/dede:channelartlist}
	</div>

   <script type="text/javascript">
   var wrap = $('#channelartlist');
   var href = wrap.find('a').eq(0).attr('href');
   var curHref = location.href;
   var arrCurHref = curHref.split('=');
   var arrHref = href.split('=');
   var url = arrCurHref[0] + '=' + arrHref[1];
   location.href = url;
   </script>
</body>
</html>